<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <!-- 插值表达式存在插值闪烁问题 -->
        <!-- v-text,v-html不存在插值闪烁问题，并且前者不会对绑定的值进行解析，后者会进行解析 -->
        {{msg}} <br/>
        <span v-text="msg"></span> <br/>
        <span v-html="msg"></span>

        <a v-bind:href="link">去吧皮卡丘</a>
    </div>
    <script src="./node_modules/vue/dist/vue.js"></script>
    <script>
        new Vue({
            el:"#app",
            data:{
                msg:"<h1>hello</h1>",
                link:"https://www.baidu.com"
            }
        })
    </script>
</body>
</html>